package org.example.vueadminapi2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.vueadminapi2.entity.User;


public interface UserMapper extends BaseMapper<User> {

//    @Select("SELECT * FROM user")
//    List<User> selectAll();
//
//    @Select("SELECT * FROM user WHERE id = #{id}")
//    User selectById(Integer id);
//
//    @Insert("INSERT INTO user (username, password, nickname, token) VALUES (#{username}, #{password}, #{nickname}, #{token})")
//    int insert(User user);


}
